

package com.iocup.keybastion.annotion;

import java.lang.annotation.*;

/**
 * 指定维度需要登录才能访问
 *
 * @author xyjxust
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface RequiresUser {

    String TYPE = "type";
    /**
     * 登录维度类型
     * @return 类型
     */
    String type() default "";
}
